package com.hl.sfzy.service;

import com.hl.sfzy.entity.Consultant;
import com.hl.sfzy.entity.course.Teacher;
import com.hl.sfzy.mapper.ConsultantMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.stream.Collectors;

@Service
public class ConsultantService {
    @Autowired
    private ConsultantMapper consultantMapper;

    public List<Consultant> getConsultants(String teacherGradeName, String fieldName) {
        return consultantMapper.getConsultants(teacherGradeName, fieldName);
    }
}
